package com.cyb.beta.service;

import java.io.Closeable;
import java.util.concurrent.ExecutorService;

/**
 * @author beta.chen
 * @date 2016/4/13.
 */
public interface ThreadService extends Closeable{

    ExecutorService getFastExecutor();

    ExecutorService getDbExecutor();

    SafeScheduledExecutorService getScheduledExecutorService();

    public void close();
}
